<include file="Admin@Public/header" /> 

<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
  <ol class="breadcrumb">
      <li>内容管理</a></li>
      <li>拓展属性</a></li>
      <li class="active">编辑</li>
  </ol>
   
<form  class="form-horizontal" role="form" action="__URL__/save" >
  <input type="hidden" name="inputId" value="{$attribute.id}" >
  <input type="hidden" name="inputTypeId" value="{$attribute.type.id}" > 
  <div class="form-group">
    <label class="col-sm-2 control-label">栏目</label>
    <div class="col-sm-4">
      <input type="text" class="form-control" value="{$attribute.type.name}" readonly>
    </div>
  </div>
  <div class="form-group">
    <label for="inputAttributezh" class="col-sm-2 control-label">属性名</label>
    <div class="col-sm-4">
      <input type="text" class="form-control" id="inputAttributezh" name="inputAttributezh" placeholder="请输入属性名" datatype="*2-6" errormsg="<i class='icon-warning-sign'></i> 属性名在2~6位之间"  nullmsg="<i class='icon-warning-sign'></i> 请填写信息！"  value="{$attribute.attributezh}" >
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">属性名至少2个字符,最多6个字符<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
  <div class="form-group">
    <label for="inputMark" class="col-sm-2 control-label">标识符</label>
    <div class="col-sm-4">
      <input type="text" class="form-control" id="inputMark" name="inputMark" placeholder="请输入标识符"  datatype="s" errormsg="<i class='icon-warning-sign'></i> 标识符必须是英文字符串"  nullmsg="<i class='icon-warning-sign'></i> 请填写信息！" value="{$attribute.mark}" > 
    </div>
    <div class="Validform_checktip">
       <div class="Validform-info">标识符，方便程序取值<span class="dec"><s class="dec1">&#9670;</s><s class="dec2">&#9670;</s></span></div>
    </div>
  </div>
  <div class="form-group">
    <label for="inputStatus" class="col-sm-2 control-label"> </label>
    <div class="col-sm-4">
      <input type="button" class="btn btn-primary" value="编辑" id="btn_sub"/>
       <a href="__URL__/index" class="btn btn-default" >返回</a>
  </div>
</div>
</form> 

</div>


<include file="Admin@Public/script_form" /> 
<include file="Admin@Public/footer" />    
